<html>
<head>
    <link rel="stylesheet" href="../../layui/css/layui.css"/>
    <link rel="stylesheet" href="../../css/list.css"/>

</head>
<body>
<form class="layui-form user-add-form">
    <input type="hidden" id="hideId" value="${songster.id!}"/>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label" STYLE="margin-left: 30px">歌手姓名</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input add-userName" readonly="readonly" value="${songster.name!}">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label" STYLE="margin-left: 30px">添加用户</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input add-userName" readonly="readonly"
                       value="<#if songster.musicUser.registerType == 0>${songster.musicUser.phone!}<#elseif songster.musicUser.registerType == 1>${songster.musicUser.email!}<#else>${songster.musicUser.nickName!}</#if>">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label" STYLE="margin-left: 30px">歌手头像</label>
            <div class="layui-input-block">
                <img src="${songster.headimg!}" width="200" height="200" />
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label" STYLE="margin-left: 30px">歌手简介</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input add-userName" readonly="readonly" value="${songster.synopsis!}">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label" STYLE="margin-left: 30px">审核状态</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input add-userName" readonly="readonly"
                       value="<#if songster.status == 0>审核中<#elseif songster.status == 1>审核通过<#else>未通过</#if>">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label" STYLE="margin-left: 30px">失败原因</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input add-userName" readonly="readonly" value="${songster.reason!}">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label" STYLE="margin-left: 30px">发布时间</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input add-userName" readonly="readonly" value="${(songster.addtime?string("yyyy-MM-dd HH:mm:ss"))!}">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label" STYLE="margin-left: 30px">发布ip</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input add-userName" readonly="readonly" value="${songster.addip!}">
            </div>
        </div>
    </div>
    <#if songster.status == 0>
        <div class="layui-input-block">
            <input type="text" id="reason" class="layui-input add-userName" placeholder="请输入原因"/>
            <button type="button" id="agree" class="layui-btn layui-bg-green" lay-filter="addNews">通过</button>
            <button type="button" id="noagree" class="layui-btn layui-bg-gray" lay-filter="addNews">不通过</button>
        </div>
    </#if>
    <#if songster.status == 1>
        <div class="layui-input-block">
            <input type="text" id="reason" class="layui-input add-userName" placeholder="请输入原因"/>
            <button type="button" id="noagree" class="layui-btn layui-bg-gray" lay-filter="addNews">不通过</button>
            <button type="button" id="noaudit" class="layui-btn layui-bg-green" lay-filter="addNews">改为审核中</button>
        </div>
    </#if>
    <#if songster.status == 2>
        <div class="layui-input-block">
            <input type="text" id="reason" class="layui-input add-userName" placeholder="请输入原因"/>
            <button type="button" id="agree" class="layui-btn layui-bg-green" lay-filter="addNews">通过</button>
            <button type="button" id="noaudit" class="layui-btn layui-bg-gray" lay-filter="addNews">改为审核中</button>
        </div>
    </#if>
</form>
<script type="text/javascript" src="../../layui/layui.js"></script>
<script type="text/javascript" src="../../js/music/songsterlist.js"></script>


</body>
</html>
